package com.gdc.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Description: 订单消费者模块（引入OpenFeign）启动类
 *
 * | @EnableEurekaClient                        开启 Eureka 客户端注解
 * | @EnableFeignClients                        开启 OpenFeign 功能
 *
 * @author: gdc
 * @date: 2021/2/1
 * @version 1.0
 */
@EnableFeignClients
@EnableEurekaClient
@SpringBootApplication
public class CloudConsumerOpenfeignOrder80Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudConsumerOpenfeignOrder80Application.class, args);
    }

}